package com.dms.modules.payment.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 支付DTO
 */
@Data
@ApiModel(value = "支付DTO", description = "支付信息")
public class PaymentDTO {
    
    @ApiModelProperty("订单ID列表")
    @NotEmpty(message = "订单ID列表不能为空")
    private List<Long> orderIds;
    
    @ApiModelProperty("支付方式：alipay-支付宝，wechat-微信支付")
    @NotBlank(message = "支付方式不能为空")
    private String paymentType;
} 